{%extends "base.html" %}

{% block body %}
	{% include "search.html" %}
	{% if entries %}
	<p>Problem Code : {{ problem_code }}</p>
	<table>
		<thead>
			<tr>
				<td>ID</td>
				<td>SUBMITTED ON</td>
				<td>USER NAME</td>
				<td>RESULT</td>
				<td>MEMORY</td>
				<td>LANG</td>
			</tr>
		</thead>
		<tbody>
			{% for entry in entries %}
			<tr>
				<td>{{ entry.id }}</td>
				<td>{{ entry.submit_date }}</td>
				<td>{{ entry.username }}</td>
				<td><b>{{ entry.result }}</b></td>
				<td>{{ entry.mem }}</td>
				<td>{{ entry.lang }}</td>
			</tr>
			{% endfor %}
		</tbody>
	</table>
	{% endif %}
{% endblock %}